Changed the anchor algorithm so that it works in the refactored master.
The name of the branch is not good because I had other intentions first. But now the anchor algorithm works.
The name of the branch is not good because I had other intentions first. But now the anchor algorithm works.