Open center close center auto calculation