with provision for varying the stroke of the piston