realize myers' algorithm

realize myers' algorithm (seems it performs better)