modified blockedMatrix a little