Careful about integer division
Initialized hamiltonian.energy