Automating share allocation balancing