fixing incr version of objective_emin function