trying to add slice interpolation