Make rebalance_all use threaded_traverse