added bitoperations in the fastkdtree constructor.