Better kd tree - now at least the top level tries all axes.