now doing chi2 calculation over 80 threads. Still hilariously inefficient