Modelling the impact of aging on social security expenditures