Mesh to surface

Hello engineers, I want to convert this shape into a single surface. It was originally a mesh, and after converting it to a polysurface, it became composed of many small squares. Is there any way to make it a single surface?

I tried creating a profile and two rails and doing a Sweep2, but it did not work. I also tried using SubD, but that did not succeed either.

If there are other methods, please advis

Possibly in two steps with QuadRemesh > ToSubD > ToNurbs. Possibly directly with MeshToNURB. Possibly by reverse engineering with NURBS surfaces manually. Possibly this is useful, or that. It depends on what you need the NURBS surfaces for and on your budget.