Trial to optimize the exponential function calls
Simplified the exp optimization, don't need that many tricks