The harder you are working to make the smallest thing possible, the more this happens.
Additionally, since no one has half a million 2.32mm long M1.2 screws just lying around, they're always a custom order. Might as well get the exact length you want.
In the iPhone, for example, each screw gets its own part number and each screw is custom.