route to switch
merge queue and route
merge queue and route again