Tool for measuring cylinders dimensions