MMS define constant only once, not in for loop.