build tree from smilestrings