modified resolution to be per-dimension