Introduced slicing instead of trimming.