Integrate end trimming