extracted chunk_querying from behavior_tree