fix convex hull