Custom Depth mask with Groom


Hi everyone, im trying to render a depth mask for groom and im gettings this contour in the hair, like hes blending the tip of the hair with the floor. Someone can help me with that? Than ks!