The galaxy distribution as a Voronoi foam