What are the tradeoffs when building a modular battery pack
Your ageing of the weakest cell will be accelerated by the % of mismatched. They ought to be &lt;&lt;1% matched which is unlikely with used LiPo cells.  I suggest you use active flying inductor full bridge switches to bypass cells that are over or under-charged, rather than the typical passive Zener loads that only protect overvoltage to some % of the max. cell power ( volt-amps ) during CV charge so it works during CC mode as well.

This is needed to prevent rapid cell death or low DoD of a low capacity cell.

The array S*P number depends on choosing the optimal power impedance curves to the load and discharge times.  Matching cells in series strings is just as important as parallel cells if using the max C rate charge/discharge values.  If relaxed, and heat sensors are used, then mismatch tolerance can rise.

The series ESR of battery cells rise and must be much lower than the motor ESR or DCR to reduce load regulation error and battery losses. So this is an impedance factor that demands you have a good battery tester that not only measures Vbat vs I but computes estimated capacity and Coulomb counting during charging and batter ESR, such as some Cadex models.