intersections of sorted streams