Fix bug in creation of neighbour distances of StructuredGrid.