java 6
use ks pvalue