computes a voronoi transformation that retains information to enforce aperiodicity