fix bug that find the right upper and lower bound between left and right convuxhull
a bug in find convexhull