shorter LMR code

+ assert is shorter than relevant comment