Support float quantities, dedupe BOM.