Need help with sphere generation.

I am working on a Jujutsu Kaisen datapack, and the only trouble im running into as of right now is making a Sphere (40x40), most of the tutorials makes me wait really long for a sphere, anyone know how to make a sphere really fast?

Continue to help post