construct voronoi diagram