sc_factor support for encoding.