Improve decode performance