Local convex hull calculation and the initial implementation for the global hull calculation.