finish and check the self-routing algorithm;  rerouting algorithm construction completed but not test.