reference implementation https://docs.rs/hnsw_rs/latest/hnsw_rs/hnsw/index.html this could also lead to implement vector sets data structures