Implementation of CMT-SFR algorithm