use stringbuilder for better multicore formatter