I made a mod that splits stacks into custom stacks in 1 click
​
I call it Stack Slicer.
\-
It can slice a stack from 2 to 10 using your upper keyboard keys from 2 to 0 being 10.
You can go all the way up to 30 slices with Page up and middle mouse click.
\-
Pretty useful to share loot with friends, or splitting food for distribution amongst your bases, or splitting your stack of cakes to evenly distribute them amongst you farms - especially if they're an odd number.