Reduce the size of the pair sorts which get invoked from __device__ code