Creating and stacking multiple layers with different phase rotations