keeping the volume constant at its new value