Vijay, There is a way how I can get the parent of the leaf for AdaptiveKDTree.hpp. Using AdaptiveKDTreeIter I see how I can get a plane from a parent, but struggle to find quick why to get parent itself. Kind regards, Lukasz [University of Glasgow: The Times Scottish University of the Year 2018]