Using pattern detection techniques and refactoring to improve the performance of ASMOV | IEEE Conference Publication | IEEE Xplore