canvas.width is now based on the longest line