How can I make my matrix dynamique not expand?