changed resolution to have even wall widths