reduce amount of allocations during string wrapping