Updated find k-th smallest from two sorted arrays.