Faster convergence
remove debugging function