cleaning convex hull generation