Since `region_code` is already assigned to a variable, consider using that instead of `tree['itree_region_code']`