error in material consumption calculation