Just what nuclearalcemist2: said. Consider also this, if you add enough kinetic energy, liquids become a gas. Then the volume expands to fit the container. Why is that? Also consider the inverse, the cooler you get something the less space it takes up, except for water (and a few others.) Now why is that? You may have simply confused yourself with the potential energy, how exactly is that germane to molecular spaces?