Well, let's keep it the way it is. I'll figure out if there are any performance problems with `Math.floor()`/`Math.pow()` later, right before merging this.