Territory calculation