Inplace sorted arrays merge