rway tries api extended
ternary tries extended api