First version of topology aware routing