There exist 6 possible states for every square on these 5 by 5 grids. Using the formula: nCr = n!/(n-r)!r! --
(where n is the 5 by 5 grid (5x5=25) and r is the possible states (6, not accounting rules of which stop one object tiling the plane or 3 figures of a person)
-- we get 25!/(25-6)!6! which simplifies to 25!/19!6! and when solved, we get 177,100.
When put on a grid, ( sqrt(177,100) ) we get a 420.83250825 by 420.83250825 grid.
Yours well exceeds over a thousand. Either there is a problem with your program or this "library" is infinite. The concept of the Library, Canvas, Box, Book, e.t.c., of Babel constitutes the following knowledge, that given every single possible combination or permutation of letter, number, color, or physical particle will contain a noticeable or discernible pattern congruent to the real world.
As your "library" is infinite, it does not hold true to the ethos of babel and therefore, your title is misleading to those who concern themselves with such matters.
With disappointed looks,
Miurl Ultamatus