Merge two massives [N] and find mediana.