made some performance optimizations so computing num territories next round isn't so expensive