High Modularity Creates Scaling Laws