Included modded dynamic tree cut as function
included dynamic tree cut as function