search points to the maxmium degree in y direction