bug fix in build_adaboost_stumps()