create a local variable for `domInfo.localDomain.size[axis_element.space]` an reuse them in `line 112` and `line 118`