public boolean setEntriesSet(int row, boolean withBlocks) {
      entriesSet++;
      if (withBlocks && blocks != null) {
         if (blocks.size() == 1) {
            blocks.get(0).increaseEntriesSet(row);
         } else if (blocks.size() > 1) {
            ArrayList<Integer> indeces = new ArrayList<Integer>();
            for (Block block : blocks) {
               if (row >= block.getMinIndex() && row <= block.getMaxIndex()) {
                  indeces.add(blocks.indexOf(block));
               }
            }
            if (indeces.size() == 1) {
               blocks.get(indeces.get(0)).increaseEntriesSet(row);
            }
         }
      }
      if (entriesSet == maxEntries) {
         setGone(true);
         return true;
      }
      return false;
   }