Update kway_merge_sort