Fix speedValue to use trees built so far instead of total trees.