Avoid negative values for consumed.