fast reference generator