Creating math for recipe, product, part