update huff-max.py