Tools/routing: Use list comprehension expression instead of for loops.
Tools/routing: Use list comprehension expression instead of for loops.

To save some clock, gain performance improvement.

msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo