Measuring a cylinder of an engine