Optional calculations of segment lengths in path builder, for future use in stroking paths with length-dependent pens (gradients, dash patterns, etc.)