Changing computation of number of ticks
Changing computation of number of ticks

I was seeing wrong results, and I didn't understand the original
algorithm.  This one computes the ticks left for each commodity, in a
way that I know is correct, and then picks the lowest number as the
value for the building.

BartKieviet/Bookkeeper,BartKieviet/Bookkeeper