Add FindOrSavePosition interface for suffix tree