Implement My MCCGB Algorithm