A mod compatiable with LWM Deep storage, but with functionality of Stockpile limits, (so you could have a medicine chest say, that stored 20 Bandages, Medicines, Glittermeds, not whatever the full stack currently is.
Haven't fully tested to see if bug free but:
https://steamcommunity.com/sharedfiles/filedetails/?id=2585724597
Variety Matters Stockpile, allows you to prohibit duplicates (so only one stack) and then limit amount, and says it works with Deep Storage
From my testing seems to work ok, IF no Pick Up and Haul.... if PUAH is installed has issues with both stockpile #stacks,. and Stack size limit...
Variety Matters: Stockpile is the only mod I can find that currently allows both #stacks and Stacksize limits.... so sor tof stuck on chosing which options you want.
there are a few mods that just limit Stack Size (but with Deep Storage, that just means lots of little stacks) and Kanban Stockpile https://steamcommunity.com/sharedfiles/filedetails/?id=2287142613
Which has a Limit number of similiar stacks.... but does NOT have a limit stacksize option....
Hopefully one or both of these could be updated to fix incompatabilities and/or add missing option