Geometric Partitioning of 3D scalar fields