Add cases when offset equals 0 or 1