updated docstring in merge_paritition_pair