Would you guys consider submitting to boost (www.boost.org)? This kd-tree library is generic, standard-like, an imho quite useful. Boost would be a good way to get this class used by a lot more people, and it is a pathway to standardization. -- John