use weighted costs
not really faster...
...