Modified slice for Z1 so that all slices will allow reflected output based on the positions of the start and end references.