Add BitThickness decoding