find the next in-order node