implemented gpu-version for reslicing volume.