log structured merge tree implementation in C++