Improve Bde metric by adding double cast and return exponential