converted grid to percentages