addded minimum threshold for secondary peaks