extract_domain_grid is no longer used.