change indirect format: compress option to 3 bits to make room to bias option

add bias method in Tex

unit tests for bias option