staircase transformation