Update MaxSliceSwap.cpp