almost estimated cluster density function