Preliminary CF algorithm adaptation.