Bb2 optimization

Optimization of the BB2 scheme.