modified IterStreamer. FINALLY fixed the bug of slower and slower loops