Change slicing to time base solution