FIX: gloval.ideal must be direct_ideal + warehouse_ideal