Fixed convex hull algorithm