Different edge weights are calculated for each number of days kept constant; time now takes ~50-60 seconds.