Made IntSlicetoC function private