FIX: material ideal stock is calculated wrongly Issue 69983736