corners unit
3-walls staircase algorithm - fix some bugs
improve 3-walls-staircase algorithm