> Perhaps known[n] should be updated only if "n" is not known. Good catch, we definitely only want the lowest-numbered occurrence. I've sent a v2. -- Mathematics is the supreme nostalgia of our time.