Edits LM maths.