inputMergeN done