need to build similarity symmetric matrix