Try make DFS like. Need BFS like.