On the coupled-channel calculation of the optical potential with full inclusion of coupling effects