A biventricular heart stimulator is adapted to optimize an interventricular delay interval duration by minimizing a mechanical asynchrony between right and left ventricle. Mechanical asynchrony between right and left ventricle is determined by measuring right ventricular and left ventricular intracardiac impedance or conductivity.