Eliminating blocks and setting energies correct