oh god the kd tree sucks so much it burns. ... it also appears to actually work, but wow