fixing bug in tree construction in minLogLhbkg