included createvertices in timing of algo2 and algo3. numthreads param