optimize_zk_create (#1833)