Patch: preserve edges of input surface

RH-87232 is fixed in Rhino WIP