preparing for lean and mean (and slower) decision tree learning