Shadows wise Z overlapping


I’m compositing a scene with two character walking side by side and when their shadows overlap it’s getting darker.

I linked their shadows together in a composite bitmap node and ordered it to the right of both characters. And everything is in the same Z position.

Any ideas os what can be happening, please?