added finer binning for energy