Rewrite max_interchange_sort_size