Initial cHeiGenVarying implementation.

Ref.: #1137