I was playing, and i noticed that if all people are infected the population does not increase
It's not just the infected, population growth is not a feature in the game. This was an intentional decision as having the population grow didn't benefit or enhance the gameplay.