Prepare merge for parallelization.