Smooth Contour Graph not working as intended

I have a topography, and I got a graph from an online tutorial. However my graph is not working in how the same way the tutorial one works.

Here is the tutorial

My graph is attached. As for the topo, just create any random toposurface with the points increasing from 0 to whatever number you want.

From my understanding, the density number slider node adds points into the contour lines which smooths it out. While the sharpen does the opposite. However, in my graph, the density changes how much of the original toposurface is made into the new one. I’m at a loss as to what’s wrong with this.Contour Smoother.dyn (106.7 KB)