fn iter_spatial_tree<F>(spatial_tree: &[u8], f: F)where
    F: FnMut(&SpatialTreeItem),