Balancing of reciprocating engines is rather more complicated than it looks. On steam locos, nobody ever seems to take much account of the second order vibrations, possibly just relying on the general mass of the machine to reduce those effects. In lighter machinery, particularly motorbikes, there may often be one or two balance shafts running at twice engine speed.