now we can take the highest maximum in the first string of maximums, which gives better accuracy