Uses a new algorithm to replace moving STD