Cylinder assembly of expanding machine