A theory of (de)centralization