Move mergesort into place
Lift the sequential thresholds out as vars