Update TAallocation.java

fail quickly if input file is clearly impossible