Slice filter: terminate first slice with last_in_chain flag. This flag makes sub filter flush buffered data and optimizes allocation in copy filter.