add hybrid bfs