add some threshold to enforce convergence