kd tree insert updates size