Marginal costs and benefits in building energy retrofitting transaction