adjusted the calculation for estimated tree span