Correcting OpenMP threads number