upgrade interface to be consistent with level-ancestor/least-common-ancestor