fix adaptive size snake gen
hopefully prevent the possibility of sections of the board being walled off