lmr history threshold tuning