simplize the digits sum computation part