passing chunkSize via option to plugin