add flat version class2vec