Algorithm about Wire Auto Routing to connect two blocks with specified pins