got minCol working
got minRows working