Fail generation when not enough keys are placed. I'm still not really sure
why it does this.