Update createRoads in BFS2.