calculate tree area(width and depth)