Fix arc curve funny behaviour

* Needed to add intermediate point to hashset
  to avoid it being added twice