Effects of electron-phonon coupling range on the polaron formation