Create an isosurface from parallel contours

I need to create an isosurface from these 4 contours


each contour is on a plane and the planes are parallel, therefore the 4 contours are parallel.
I tried a solution similar to this Stitches
But contour 3 has several discontinuities as shown in the following image.

Could someone recommend a solution for me.

Miguel, I suspect that with some work you could create a distance field and then isocontour that.