Merging black hole binaries: The effects of progenitor's metallicity, mass-loss rate and Eddington factor