Adjusting Raycasting size

Minecraft version: 1.20.2 No mods or Plugins.

I'm trying to adjust the size of my raycasting command! It's been a while since I've messed with raycasting so I can't remember much about it.

Here is the raycasting function I am using!

particle sweep_attack ~ ~ ~ 0.15 0.15 0.15 0.15 1 force @a[tag=!global.ignore,tag=!global.ignore.gui,distance=..40]

execute as @e[tag=!SR.spiritraycast,tag=!global.ignore,dx=0,dy=0,dz=0,limit=10] positioned ~-0.99 ~-0.99 ~-0.99 run function shamanism:staff_effects/aloof/aloof_spells/spirits/polar_bear/swipe_effect

scoreboard players add @s SR.range 1

#raycast loop#
execute unless entity @s[scores={SR.range=5..}] if block ~ ~ ~ #shamanism:blockignore positioned ~ ~-0.9 ~ unless entity @e[distance=..0.75,type=!#shamanism:spiritraycastban,tag=!SR.spiritraycast] positioned ^ ^ ^0.9 positioned ~ ~0.9 ~ run function shamanism:staff_effects/aloof/aloof_spells/spirits/polar_bear/swipe_2
tag @s[scores={SR.range=5..}] remove SR.spiritraycast
scoreboard players set @s[scores={SR.range=5..}] SR.range 0```

The particular area I am trying to edit is this portion here:

```execute as @e[tag=!SR.spiritraycast,tag=!global.ignore,dx=0,dy=0,dz=0,limit=10] positioned ~-0.99 ~-0.99 ~-0.99 run function shamanism:staff_effects/aloof/aloof_spells/spirits/polar_bear/swipe_effect```

In it's current state the raycast has a rather small "hitbox". I want to make the hitbox a 3x3 cube instead.
Continue to help post