make positions outside board illegal