implemeted getJumpMaxWidth and getJumpMaxHeight