vector stream fusion: optimize monadic inner streams