Correct step-size update at the last RK step.