[rewrite] pop BT next right node