using gas close to its critical state