repartition the data