add a func named reset_chunk_size