Added tracking of anchor and anchorless paths on a same graph