Set a better initial buffer length