Oscillating cylinder steam engines are now mainly used in toys and models but, in the past, have been used in full-size working engines , mainly on ships and small stationary engines . ... They also tend to be more compact than other types of a cylinder of the same capacity, which makes them advantageous for use in ships