moved to library
need to fix processingvertices adding only 1 edge when similar weights
just one bug left in removing edges that are known
need to fix weights storage