I think you need to think about your product setup to tell you the truth. I would be happy to develop the module and make some money, but here is the real fix in getting creative with the combinations. Each size that you sell would be be a product. However, when you present it to a user, it would be the combination.
There is also another option. Don't use quantity as it is. Internally, treat 1L as the quantity number. When you show quantity, its actually another attribute. This of course requires more code, but its doable if you already have the products setup a certain way and can't change them.
Paul