Updated to the new bottom-up merge sort design