the sub-matrices are 5x7