peak detection and new cluster implemented