In Router.sol, theres a loss of precision that can be corrected by shifting the operations.
Consider rewriting L274-275 with uint numerator = (_fees * reserve) / eraLength / maxTrades;.
verifyfirst (Spartan) confirmed:
