Added structural code for load balancing BFS