optimize dugGen
pfs: give weight
bind used locations (instead of accesses)