FIX: indirect_ideal_stock ()s1_part_ideal  wrongly calculated