added a transform that will declare the iterator in loops local
right now there is NO dependancy analysis so this may very well break your code