add support to limit depth in dependency walker