Fix size of internal buffer.