Correlation expansion of the optical potential