@TheOnlyAaron was right about that was not the reason in the example I showed.
I fixed the 2d shape with a 90 degree angle and I drew an arc bigger and it happened what @Anssi said, the arc was bigger than the last segment so this was the result.
After drawing a 90 degree angle and a smaller arc it worked like a charm.