Using string byte length to compute how much buffer must be increased.