Set segment widths proportionally to make it possible to get segment widths so that badges can be positioned accurately without overlapping labels.