Preparing for merge sort recursion