BFS added returning vectors for drawing
BFS used for drawing optimization - no queues are needed