minot encoding improvements