add block size parameter to gamma encoding based run length coder