allow more than 2 chunks in read-array-in-chunks