A steam engine is another type of piston engine .
Consequently , steam engine pistons are nearly always comparatively thin discs : their diameter is several times their thickness . ( One exception is the trunk engine piston , shaped more like those in a modern internal-combustion engine . )