Bug fix in Bpe when ensemble size is empty.