add 1d density processing tools