on-demand chunk-size is now configurable by option 'onDemandChunkSize' (default 5)