How can I make my shadows more accurate without losing quality?

I have always been rather troubled in Unreal when it comes to lighting and shadows. Below I have attached two screenshots of the same shadow with different lightmass settings. The lightmass is defaulted at 32.00 and as you can see, the shadows are very inaccurate. I asked the same question to a friend and he suggested that I lower the lightmass setting to around 4, however, as you can see, this also decreases the quality of the shadow. How could I get the lighting to cast accurate shadows that are very crisp and high quality? Thanks so much for the help!

Update:
This is being cast onto a BSP Volume cube, and as I have just figured out via other sources, BSP volumes require lower lightmap resolutions rather than higher, unlike static meshes, to create better shadow quality. I have lowered the lightmass to 1 and the shadow quality has greatly increased. I hope this helps someone!