optimized array rank list
Arithmetic encoding