correct the item sizes and constrct the gutter with padding