Fully remove outdated code from old parity algorithm