fix a bug in fixed-sized chunking with a large chunk size