bug in vertex definition
removed OMP pragmas