one-step iterative algorithm