Fixed allocation of matrices