fixed natural mergesort out of bound