Variable-window Algorithm for Ultra-high-speed Distance Protection