bf.hs: clarified parameter names in optimize