Improved efficiency of loading hierarchies