Revert "Revert "changes with balancing values""

This reverts commit 6debd0b327d37dc84ca15411e04734079954f611.