Support specifying a different base density setting

See README for details