base for parallel merge