Modified jumping control to stop "flying" up block-stairs