optimized string indenting