Don't try to unify points because the result is not sorted. Try to draw curves correclty.