if (isLeaf()) nodeIndexFirst++;
else if (nodeIndexLast - nodeIndexFirst == 1) {
BTreeNode node2 = getNode(nodeIndexLast);
/*Modified by ben zhang at aug, 12, 2002 */
tmpKey = node2.getKey();
int cmpResult = tmpKey.compareTo(key);
if (cmpResult > 0) {
BTreePage page = this.lockAPage(kContext, node.getPageNumber(), SEARCH);
// unfix the current page
buffer.releasePage(pageNumber.getTreeId(), pageNumber, false);