hierarchy.cxx: Use emplace() into a map instead of insert().