Optimization of proving a [non-zk]SNARK (Groth16)