make xgboost weak type