kd tree region line tests added