smartMerge