Add checks to avoid exceptions. Remove check for small 3D curve, now pcurve will be built for all small edges, which have not been removed by FixSmall.