Base suf. trees algo added