Multinode, multicore vocabulary tree implementation.