Improved calculation of field isotope shift constants for optical spectral lines