bug fix: the width of each grid box is (total width) division dim