The size (mins/maxs) in Beam_RelinkBeam is impossible to make correctly.
Try putting the beam in an angle, the entity size will be bugged because you cant change the angle of the mins/maxs box, and you'll end up with a huge invisible wall.
I suggest just removing the mins/maxs setting in Beam_RelinkBeam. (Or removing the function completely)
Solution: Hook think and use a traceline to check fraction.
Many things are useless and would be much better to not use the inc and do the functions yourself in your code.