LogicSegment: Limit end in get_subsampled_edges() if needed