Modelling population density over time : how spatial distance matters