simplified convexhull conversion