extended buffer size
using malloc for buffer -> more space