You need to make a single mesh that contains all of your flat squares rather than have 30*30 individual ones.
All the flat squares that share the same texture can be on the same surface in that mesh.
The combination of the above will speed it up no end.
All the flat squares that share the same texture can be on the same surface in that mesh.
The combination of the above will speed it up no end.