ext enc refactor, LO first, then HI