Allow custom density setting