This test consists of 4 lights in a scene with the light tree disabled. This means a sample count that's a multiple of 4 must be used to get a relatively clean result. The maximum sample count is set to 4, with the sample subset option turned on. The subset offset is set to 2 to test the offset, and a length of 4, which will be internally clamped to 2. The length of 4 was chosen to test the sample subset length clamping. Ref: blender/blender-test-data!43 Ref: blender/blender@f09fd9bdef