optimization and optional rounding in bif output