removing kd-tree dir