Does it need `chunk_size`?

I think `len(chunk)` is enough.