The following improvement has been implemented in BRepLib_MakeWire class to make it more reliable: 1. Quit adding edges of a wire into result if the current edges have not been added. Return NotDone status. Test case for the issue.