WIP: add sampling strategy to BFitcxx,xml