changed omp single to critical in getPointVerticies() to avoid problems
with nested openmp applications