Fixed possible bound errors on alpha by forcing input.