infrastructure for density-dependent diversification rates