fix staircase direction calculation
correct up staircase generation in simplest way
fix up staircase usage during down staircase generation
change movement through staircases to simplify backward movement