Deferred Shading - Ray Tracing - Shadows problem

Hello all,
First of all, apologies if this is not allowed to be posted in this group I will remove if needed

I am working on basic shadows using ray tracing. I have a deferred system set up and am sampling the world positions at each step of the trace. I am currently getting some results but there is something incorrect when I move the camera around and look at certain angles

below is a video clip of what is happening

I was wondering if anyone had any advice on what I might be doing wrong, anything that stands out that I am missing.

I am happy to get back in touch with code but didn’t want to plaster the post with code.

Thank you