First version of merge_disjoint_words