Updated complexity calculation ...

to compensate for fixed and variable path segments.

Variable path segments now have a lower priority than fixed (static) path segments.