how to measure inside diameter of a cylinder