added a getAreasExtentForState() helper function