maxdepth feature for bfs_search modules added.