Move classify_leaf() to c'tor in bitbases