Edited location of second extrema