Refactored mesh arithematic