use intercept pair to define a peak