Cubic-spline urban-density functions