modified convergence checking condition