Added detecting of cover with trees.