I don't want to write the density partition code.