Partial reimplementation of a Tupl like B+Tree in C++