Starting cleanup bidirpath.cc for improve readability