Calculating the tree removal cost