Modified energy calculation if there are repulsive contacts