Material cost doubles itself, if quantity = 0. Fixed.