improve test
need to weigh the paths