somewhat optimized territory loading