fix: fix elementsPerWorker automatic calculation