multislice c++ application