inlined getInOrderSuccessor