function [isBoxBad] = isBoxBad(box_size, cells)

isBoxBad = false;

res = box_size / cells;

for i = 1:cells-1
  if (abs(round(res*i)/(res*i) - 1) < 1e-9)
    isBoxBad = true;
    break;
  end
end