Tuning converting to arcs.
Write path with relative or absolute coordinates whichever is shorter.
Better rounding, taking in account accumulating error.