remove fold{Rows,Columns} from the reference implementation.