Replace fold (*) with product function