add mv range limitation and related ut
Merge pull request #1297 from ruil2/overflow_mv_1

add mv range limitation and related ut