1. An apparatus comprising: a memory; and a processor operative to execute: a renormalization process module adapted to determine output bit based on an interval range and a loop parameter, wherein the loop parameter represents a number of leading zero bits in the interval range, and an encode-decision process module in communication with the renormalization process module, wherein the encode-decision process is adapted to run in parallel with the renormalization process, wherein the encode decision process module is adapted to update the interval range of an interval and a beginning position of the interval in a code based on the loop parameter.