Introduce two intermediate variables, c1, and c2, to hold cell numbers during the building of the cell<->cell neighbourhood. This reduces the statement complexity--both for the human reader and the compiler...