01 bfs-structure