Remove relying on outer lexically scoped "ncols"