Very cool, thanks for sharing! A kd-tree is pretty crucial for about any bot I want to write these days.