Smart cylinders maintain the gap