searching for laplace local maxima added but not finished