Generates 3D bounding volumes given 3D mesh