Compensation masks in orientation dependent etching