Why not just use generate? I think fast_generate will go into an infinite loop if it there's a loopback