Further work on numa issues

Touching memory with openmp threads where possible