allowed dense matrices internally