this prevented an optimization later on.

may want to revisit this at some point.
optimize all kinds of ranges for for loops.