implement simple non-static model
transform into a general purpose compression program