Remove some code.
Calculate STA and STC per cell.