fixed M2N ary convert use iterator method