Prioritize item's max stack size over inventory's