finished off the MSMSIP extension algorithm.