General code for birth/death stuff within DNest3