Revert "updated initial graph with prefixes that will be reched and corresponding paths"

This reverts commit 56d6a200a2863b1ae545c3f65ecd7ec5568ab1b0.
Revert "Revert "updated initial graph with prefixes that will be reched and corresponding paths""

This reverts commit 5afa88e84b9744d10bf920e9356d45fec26810d1.