static ByteBuffer GetKeyFromStack(List<NodeIdxPair> stack) { return ((IBTreeLeafNode)stack[stack.Count - 1].Node).GetKey(stack[stack.Count - 1].Idx); }