Translucent hair in path tracing

Hi all!
I encountered the following problem:

  • The script generates a character every frame, changing the shape of the face and hair.
  • Rendering occurs through a sequencer in path tracing.
  • The render results in translucent hair. The degree of transparency depends on the Spatial Sample Count parameter, as I understand it.

Why is hair transparent at low Spatial Sample Count values? I would like to get correct hair at values ​​16-32. Is this possible?

Add some details:
I use hair from metahuman, each frame a random hairstyle is selected from the array and set in the Groom and Groom Binding fields.