reducer for merging reads for the preprocessing stage