SVGReader optimization