first crack at balancing after fixing the only-one-level bug