KDTree generation: starting to implement it with chimera and nutty