remove duplicate code
limit precision in SVG path data to reduce file size
change label specification format