The reason it works is because you get redundancy with everything referencing everything else. It looks like one of those CPU core to core latency diagrams. Without iterating like this the sort could only flow in one direction. If we modified the conditional to handle both cases you could split the square along the identity diagonal and only use half.