Testing with OMP_PROC_BIND env variable and collapse(n) omp clause. Also slightly changed loop nesting in compute_borders(): might have changed OpenACC performance, remember to check.