Add convex hull algorithm.