Added bidirectional path walk in curiosity module