Commit iterative algorithm.