Implemented vad_tree_lookup()