voronoi madness, need to refactor