peak selection algorithm