New local maxima algo for laser detection