remove "m" units from grid size