Reintroduced the random balancing algorithm as a configuration option