Updates after finishing timsort.