Solved the hashing problem in the dvp-tree implementation.