The modularity tradeoff