Faster `fill_missing_site_ids`