Answer: the interactions that are going on with the intermolecular. And depending how much space their is between each particle.
Explanation: Gases behave the least like ideal gases at low temperatures in high pressures because of the interactions that are going on with the intermolecular. And depending how much space their is between each particle. And whether the sizes are compared to small or large spaces are really insignificant.
Hope this helps :)