In-place array merge
Test merge
Speep up swap loop