merging two or more streams into an overlapping stream