updated gpu reslicing