Tensor rank of the tripartite state