Implement fixed-binning for the BDT
several updates
Reduce the script to bdt variables