Effect of the Remnant Mass in Estimating the Stellar Mass of Galaxies