why we need another `Math.floor(e)` here?