bzip2: eliminate some divisions