Optimise collision calculation by limiting to the visiblity range
Use Pragma omp to generate faster random map