Give a matrix $A$ whose size e.g., $m$ x $n$, and $m<n$. I know the the null space of that matrix is $X$ such that $A*X = 0$. The nullity of matrix $X$ is e.g $r$. it means the null space I got is a matrix of size $m$ x $r$. As shown HERE, I can build the square $m$ x $m$ matrix $Y$ by taking the values of each column from the null space such that $A*Y = 0$.
My question, what is the maximum rank of $Y$ we can get by taking its value from the null space? Is it always equal to the nullity $r$? or it can be bigger?