Building heritage towards the future, through the energy efficiency