multi-threaded NN-Descent with worker threads