in a swap from USDC to APE, previous algorithms separated the transaction across multiple paths without reusing the same market for intermediate tokens, leading to higher gas fees and less profitable trades.