Ability to define maximal depth of Kd-tree