add iter_split() function, makes stuff look simpler
make iter_split and iter_split2 distinct functions