Trying to solve the problem of jumping forward