[WIP] implementation of convex hull computation