cumulative energy distribution