Changes done for merge sort without copy