Add 0.5 factor to energy computation.