Fixed underflow problem in BDeu.java.