States are deemed similar in terms of needs but not in capabilities for achieving them. The positional placement of states in terms of abilities determines the distribution of capabilities. The structural distribution of capabilities then limits cooperation among states through fears of relative gains made by other states, and the possibility of dependence on other states. The desire and relative abilities of each state to maximize relative power constrain each other, resulting in a 'balance of power', which shapes international relations. It also gives rise to the 'security dilemma' that all nations face. There are two ways in which states balance power: internal balancing and external balancing. Internal balancing occurs as states grow their own capabilities by increasing economic growth and/or increasing military spending. External balancing occurs as states enter into alliances to check the power of more powerful states or alliances.