Add static assert for BrickContext size