Add a second mesher that needs no table: one vertex inside each cell the surface passes through, and a quad across each edge where the density changes sign. The M key switches between the two.