Change the parameters of the effect in the Effects control panel (shrinking/growing, number of colors, scale, speed, etc.)
Use the “prepare for render” script at : https://github.com/Stumblinbear/animated-stickers/ to render the effect down to a telegram sticker/lottie animation
If you need to mask it (i.e. you have multiple of these effects in one animation), simply render it down to a composition with a smaller canvas size.
You have to adjust the amount of frames when you change scale, color numbers, speed multiplier, etc.