Computing the convex hull