MODULARITY AND THE COST OF COMPLEXITY