\form#0:\[ priority = (slack(segment)+1.0) \times (length(segment)+1.0) \]