Bidirectional edges in SSSP.