PCSS with ESM and summed area tables