Further work on SearchingState class

Added code for path to be rechecked dinamically