Current energy algorithm with acumulating subroutines Life