* removed unused function Print2Vector
* a 20-25% speedup for rerouting