Add the voodoo C++ implementation