I remember that algorithm! Something to to with a point's nearest neighbor, but I can't quite remember the name. Could you tell me what it was called?