Add Kd tree etc.