A compact model for early electromigration lifetime estimation