RebuildCrvNonUniform in grasshopper?

I know there is ‘rebuild curves’ in Grasshopper, But how do i do the same as the rhino command [RebuildCrvNonUniform] as to achive minimum points and minimum curve diviation on finer details?

It doesn’t exist in Rhinocommon. You can use fit curve.