Fixed the number of energy bins in text to 300