child model, merge two sorted arrays recursively