Packing the blocks of a regular structure