Device for control of inside geometry of cylinders