DESIGN AND SELF-ASSEMBLY OF CAVITY-CONTAINING RECTANGULAR GRIDS