I slightly messed up the instruction. You have to also slide one space towards the axes, because if you have the same rank in both things that should be a 0 rather than a 1.