Small hack to reduce concatenation memory usage