finalized block matrix