Isothermal compression problem