avoiding memory allocations in HierarchyDataOps for unneeded quantities