completed q6, v4_1: inline optimisation disabled, _2: openmp optimisation disabled, _3: both optimisation options disabled