first iteration of mapreduce for iso input