Improve the performance for detecting glitches of VTE