first steps in the direction of a cache-oblivious GEP using
pthreads. Still needs more parallelization and scheduling