go back when stepsize too big

Hello,

It seems to me that when the stepsize is too big, we should go back using the X, Y of the previous accepted step and reduce stepsize.
Best,
Jiali