fix off by possible exceed by 1 in balancer