Updated board validation logic for taken space