Optimize arc and shape iterators for v8
Optimize inner point function
Tweak performance of inner point function
Refactor ShapeIter