random flags are now represented by dense matrices instead of triangular ones