isFlat doesn't appear to be doing anything. problem may lie outside of voronoi.js