even faster encoding