change recent comment algorithm