hierarchical merging
minor