added print available_encode_size variable