fixed error with different OMP threads to working level as correct as 2b1b723