integrating refrigeration provided for liquefaction and purification/treatment of the gas to be liquefied