allowed EM_algo to customize min,max steps, epsilon for ending