Optimization of cardiac resynchronization therapy by