suffic tree and sequence functions