Introduced maps to store energy values