function lrmsd_fit in process