This is a way to lift an object (in orange) to large height using cylinder of small stroke by alternately conducting pressure fluid into upper and lower spaces of the piston.
Yellow cushions support blue cylinder.
Grey cushions support red piston.
Arrows show fluid flows. Red arrow is for pressure flow.