Is M predefined or can it be randomly picked? if M={1, 2, ..., s-1}, then grasshopper has to land on some points in M. Maybe I just misunderstand the question.