need to fix convex_hull extraction