Subtract scalar on different slices