Only read the needed size if smaller than BUFSIZ