Possible error calculating neighbours.