proper discretization of energies in glbopt_history