less lines of code in mergesort