Calculate completions in worker thread