added missing constructor for pes buff map
moved PAT assignment into new method of ts state