public bool ReduceSubdivisionsWithoutItem(Vector3 pos, OctreeNode start) { bool erased = false; while (!start.ParentNodeHasItem(pos)) { erased = true; start = start.parent; start.EraseChildren(); } return(erased); }