Heating or cooling the cylinders