Finaly fixed merge sorted array