dividing an overlapping stream into two or more streams