final version, cheetah takes 1731 seconds. openmp with 8 cores