Going forward with the fast implementation
Now at least it passes, but the rank is determined incorrectly
The cross version is in fact working fine