Fixed a bottleneck in canJump/jumpStep