CHG: steadystate should stop if step>=maxiter otherwise we do it one too many times (commit: 7e7149f)