Implemented array balancer