Started work on converting slicing to C++