added omp paralel sections for all cycles

(with critical section). compiles ok. test run submited, but not
finished.