improve ECG detection wrt memory and accuracy (less trials for phase consistency)