Tranformation of generator expressions into imap(...).
Optimizations of genexp transformations. Product only used when necessary.