actually use buffer size