for LBA density and cdf switched