use 32-bit matrix type