Make KD-Tree support structs private