bayesien threshold is working if we don't reduce dimension