finish merge sort