A shrinking population doesn’t have to be the kiss of death.