added merging of pileups