starting minor rewrite of ParentIndexMap