added shift for orthogonal measuring