Make it so if there were any gaps in functions, the build_hierarchy function would maybe still work