Larger bacterial populations evolve heavier fitness trade-offs and undergo greater ecological specialization