trying to configure kd trees