avoid divide by zero in new conditional cdf routine
fixed incorrect setting of memfac, causing ccdf block algo to choose tiny blocks