Correcting speed up of line/column calculation