iterate until convergence by lambda