A simple multiplayer mod that changes your scale attribute when a player dies, you can customize this from the config (.minecraft\config\dieandshrink-common.toml)
simply change the scale_value to whatever you want the players current scale will be multiplied by that value, this can also work if you're increasing the player's scale each death