improving the rebalance code
Merge pull request #126 from ripjar/master

improving the rebalance code