incremental-breadth first route, need to do it for other routing algorithms