finished balancing the data