collisions should be marked as visited only after they are really visited, not on the collection phase