- width = (segment + (2 * pad)).ceil
- path_data = "M#{side * (pad - (0.5 * width))},#{pad} l#{side * segment},#{segment} l#{-side * segment},#{segment}"
+ width = (segment + (2 * count * pad)).ceil
+ angled_line_data = "l#{side * segment},#{segment} l#{-side * segment},#{segment}"
+ path_data = Array.new(count) { |i| "M#{side * ((2 * i) + 1) * pad},#{pad} #{angled_line_data}" }.join(" ")