implement convergence criteria for DE optimizer