fix bug in BFS streaming, able for arbitrary stream nums
fix bug in DFS streaming, able for arbitrary stream nums