corrections to bezier staircase