Solves small problems with OMP code