# How to decide the boundary of a 2d kd-tree?

People often cites this figure when talking about k-d tree

in the context of plotting, this is a $$10 \times 10$$ square, considering this particular dataset, the maximum of x axis is 9, the minimum is 2, [1,7] along the y axis.

is there a rule or algorithm to induce the $$10 \times 10$$ square based on the dataset?