each with one main shaft and provided with pistons reciprocating in cylinders