C++ Version working along with Parallel Forest