Faster generation of inputs