Tester shows the algorithm doesn't work. Will fix later.