dont minimize
path weight threshold