convex hull seems to be working