checking the chunking function for the actual size of the buffer