Chenged offset of S and M variable on the stack in lucaslehmer.