convex hull is working now!