Incremental convex hull algorithm