finish Cache.merge_trees() by implementing _merge_trees_at_root()