Bugs in r tree for d dimensional space