Csm Func Chg Coll Alg by Bruce Crauder