Changed tests for already seen to already changed. This fixes the problem that a lower level cell marks a cell as already seen when a higher level cell from another direction could have changed it.