implement localMaxima