max point on a line.Store point-(ratio,intercept)