Integrating recursive dep search