added parallel merge