Finished implementing Voronoi heuristic