fixed binarySearch in LeafNode