found weakness in the mop algorithm, finished the mfp algorithm.