Dynamically change bufsize to parse lenghty tokens faster (fixes #86).