Merge "msm: smd: change bounds check on smd edges"