clean mergesort a bit