Working version enriched with RIR info + Edge pruning