Sometimes it interacts directly with a single AMM to find the best route, sometimes it operates on multiple AMMs. It creates new paths by dividing it according to the amount of input amount. Each road creates the best route independently of each other. Therefore, the maximum output amount is made. In other words, both maximum income is obtained and a balance is created in the pools.