Fix circularize with > 12 vertices (fixes #1054)