Changed seed of BFS