Let's not duplicate the code here and the one in CostBalancerStrategy