slightly optimized StringBuilder