needed region pair query in region_labeled_clusters.py