Fix CG network to use non-real ceil_log2