Use size_type inside stable_sort_each_kernel