Need to fix total_num_slices too