A very simple consistent hash data structure in C++