make threadCount and blobsize configurable