loading LATTICE_WIDTH, ALLOWABLE_ERROR from xml