add GreedyMRSRecordK.m