added slope print for g_energy -sum