reorganized convexhull