changed logic of dead root logic for deciduous model