More BT algos

Other changes:
Fixing member var format as name_ instead of _name.
Dont forget cbegin, cend