added a chunksize setter