Improved #decode to make less calculation.
Typo