better estimate and perhaps shrink utf8 decoded buffers