Make chunk_size a constant