Made it remove algs that are y-rotations of each other