YACA: Use get_output_length() where possible