how does a forest prevent flash flood in the planes