blog post kd tree 11/10