do {
Bytes term = node.term();
int curLen = term.getLength();
if (curLen > usedBytes &&
term.compareToParts(suffix, curLen-suffixLen, 0, suffixLen, suffixLen, 9)==0) {
firstTerm = term.copyInto(firstTerm);
type = (char)firstTerm.get(prefix.getLength());
this.status = Status.initialized;
return true;
}
} while (node.positionNext());