clean + bug fix round(R*m)