get rid of root.parent and get_parent_until so far