Optimization of cardiac resynchronization therapy door