Spatial indexing on tetrahedral meshes