fixed ks p-value