KdTree: Fix boundaries of K-d tiles to be contiguous