Text this: Designing the optimal number of active branches in a multi-branch buck-boost converter