clean up useless array and its related code; resolve the merge conflict; include MDLM modes in SATD checking.