initially reserve HEADER_SIZE for buffer