Basic pseudocode for MFMC deformable structure