renamed to nd_iter
renamed from iter_nd to nd_iter