Vertex location and hashing implemented, working