Understanding the strength of epoxy-polyimide interfaces for flip-chip packages