Applies parity to all legs with the same direction.
References std::vector< T >::reserve().
Referenced by trace().
This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.