Noticed that multiple maxima should be found, not only one