split to lmb and nmb iterator