Jumping over Hurdles with Variable Heights