MValue migration in NRV

DO NOT MERGE 

This pull request is to ask for comments. We must modify edge, scn, mry, spnl to adapt to those changes, if not, it's will break the build.