factor out the balancing into BalancableRange

Signed-off-by: Florian Thienel <florian@thienel.org>
2 files changed